package PruebaMonitor;

public class Thread1 extends Thread {
	
	public void run() {
		synchronized(Main.o1) {	
			while (true) {
			try {
				
					Main.o1.wait();
					
					System.out.println("trololo"+this.getPriority());
				}				
			
			catch(Exception e) {
				System.out.println("kk2");
			}
			}
		}
	}
}
